package com.toprank.druid.store.jdbc.datasource;

import com.toprank.druid.store.jdbc.Config;
import com.toprank.druid.store.jdbc.constant.ExtConfig;
import com.toprank.druid.store.jdbc.spi.SPI;

import javax.sql.DataSource;


@SPI(key = ExtConfig.JDBC_DATASOURCE_PROVIDER, dftValue = "mysql")
public interface DataSourceProvider {

    DataSource getDataSource(Config config);

}
